﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QuanLyKho
{
    class HopDong
    {
        private string maHopDong;
        private string doiTac;
        private DateTime ngayLap;
        private string path;

        public string MaHopDong
        {
            get
            {
                return maHopDong;
            }
            set
            {
                if (maHopDong == value)
                    return;
                maHopDong = value;
            }
        }
        public string DoiTac
        {
            get
            {
                return doiTac;
            }
            set
            {
                if (doiTac == value)
                    return;
                doiTac = value;
            }
        }
        public DateTime NgayLap
        {
            get
            {
                return ngayLap;
            }
            set
            {
                if (ngayLap == value)
                    return;
                ngayLap = value;
            }
        }
        public string Path
        {
            get
            {
                return path;
            }
            set
            {
                if (path == value)
                    return;
                path = value;
            }
        }

        public HopDong()
        {
        }

        public HopDong(string _maHopDong, string _doiTac, DateTime _ngayLap, string _path)
        {
            maHopDong = _maHopDong;
            doiTac = _doiTac;
            ngayLap = _ngayLap;
            path = _path;
        }
    }
}
